properly handle null workspace name