NX-493: Disable redeploy for hosted repositories

Obey configuration, and prevent redeploys if needed.