Update gpg.rb

Fix for:
https://github.com/sihil/hiera-eyaml-gpg/issues/11

Error message as seen on client puppet run:   ... Error 400 on SERVER: can't convert nil into String ...
Custom version