installed_in_profile_p: fix for new profiles