apm does not properly handle the case in which the given name corresponds to multiple profiles.