wrong existence check fixed
Merge pull request #186 from gem/fix-gxp-error

wrong existence check fixed