make sure the registry is available before running the build