theforeman/foreman-docker — pull request #56 by parthaa (2014-12-20 00:07:59+00:00)
Title: Fixes #8772 - Fixing external registry refactor blooper

Basically commit c57dae5641a637761fb51058ad2607c3a9db8ce1 broke the
external registry selection page for a new container
The attached code fixes it.