<app model> ssh_url should use gear.name for secondary gears

https://bugzilla.redhat.com/show_bug.cgi?id=971355 (enterprise)
For gears that were created since the model refactor, the name and uuid
are the same for secondary gears; however, for gears created prior and
migrated, the name will be a shortened version, and that is what is in
DNS, so that is what needs to be in the ssh url.