handle use: alternate_name correctly

This is the reason for the `test.host-scipy.yaml` failure. The package shall always be known under its original name, except when actually loading the yaml file. There is no test coverage for this :-(