looser pattern matching for workspace urls; fixes #585