Fix bug when $nexus_root is set but $nexus_work_dir is not.