Fix issue in remote model where self.user.id is nil and prevents a user ...

...from connecting to a remote which isnt owned by anyone.