eliminating NPE when bad spaceName provided