push: Try direct registry communication when index fails (Fixes #615)

When specifying a custom -registry, the index is assumed to reside at
the same place. Attempt to do the sensible thing when this turns out not
to be the case and instead of failing hard, try to connect to the
specified registry as an endpoint without any authentication token.