Only update remote.origin.url if source is not nil