Small fix for modify workspace, modify namespace to respect change of directory name.