fix incorrect instanciations of GPGProblem

with missing 'code' parameter.
cf issue #590
Merge remote-tracking branch 'origin/0.3.4-fix-GPGProblem-590'