Fix errors with the use_ticket_auth form field.

When saving repositories, we can sometimes hit an issue where get_scmtool()
fails due to the repository object not actually existing. Since we don't really
care about having this in extra_data for repositories which don't support ticket
auth, we don't need to include this check.
Merge branch 'release-1.7.x'