fix #68, fix error with parsing of pull-request

When pull-request is pulled from the api the response does not have the
action field.
Merge pull request #81 from frigg/issue68

fix #68, fix error with parsing of pull-request