fix(controller/registry): strip hostname from repo

The changes to the registry module did not strip the hostname from the
app image. This fixes that by properly parsing the source for the
repository name in the registry and the tag.