Ensure $nexus_work is a directory too.