Ensure $nexus_home_real is a directory.