avoid use of axes() on workspaces that don't have it, re #8912