Handle JIRA priority slightly more gracefully.

While syncing to pull-in a work bug :frown:, I encountered a bug in which the sync failed because the way we are fetching priority from the JIRA record is a little brittle.  This should be a bit better.