Bugfix for github PUT when resource does not exist