- previous change to support registries that don't support HEAD in flatten broke flatten for other conformant registries; fix that - support registies that don't support HEAD in mirror (without breaking conformant registries)