Made sys check work with docker-registry.