Fixed a bug where validating JIRA bug links would print an exception to stdout.
Fixed version to deal with leading zeros.