fix(controller): Determine registry address during start

Before this change re-deploying apps failed when the registry was
re-scheduled to a different instance in the cluster.

Fixes #1128
Merge pull request #1325 from johanneswuerbach/moving-registry

fix(controller): Determine registry address during start