Add user agent. Cast empty issues to string

Just a couple of bugs I hit when running against Peas' Gemfile