Add remote_type attribute to Repository