default user workspace if workspaces array is not empty and no workspace is set