Fix bug where there's no rebuild parameter and no JSON to parse
Fix bug where there's no rebuild parameter and no JSON to parse

This causes a "TypeError: can't convert nil into String" when you just
try to do something like curl -X POST http://mycijoe/

joshuapinter/cijoe,joshuapinter/cijoe