Fixed some issues with resolving remote origins. Now provides more information if an origin could not be resolved.