Fix a bug where show-profiles was stripping profile namespaces.