Make use of the is_a_version() function to check for valid version IDs
in the checkout command.  Ticket [2de4ae605844fe3f].