aft: Make get_afsi_of_path() static.