Fixed registry.yml load behavior