[BUGFIX] getAvailableWorkspaces called statically