GitInput: only convert integer option values to int

The previous code converted option values to ints when the value contained a digit somewhere. This is too eager since it also converts strings like release-0.2 to an int which should not happen.

We now only convert to int when the value is an integer.

Created by  Bas van Dijk  on May 13, 2020
PIRYGQWSFW5OWTJCLCPDDNVFXTJGBZMFYZ4MVKXRHB45NNKEAMUQC
Change contents