Missed a $registry variable instead of using $REGISTRY.