Named matches fail on Ruby 1.8.7

Named matches don't work on Ruby 1.8.7, still the most used Ruby version by puppet installs.
Since we have not required the URI at the header this will fail and is why it is failing in travis.  Also as PE 2.7 is not being supported after August I don't believe continuing 1.8.7 is as important as it was previously