Fix code to not check Business Templates that not found in repository and not installed