Print error when profile does not exist and fixing use of IS_VIRTUAL_PROFILE.