This exception gets thrown when I run arc patch <bad-rev-number>:
$ arc patch D4502 [2015-07-23 17:42:58] ERROR 2: Invalid argument supplied for foreach() at [/Users/abacker/src/phacility/arcanist/src/workflow/ArcanistWorkflow.php:1167] arcanist(head=master, ref.master=5e4f9a2bf9d2), phutil(head=master, ref.master=aa6cd8f7e5e5) #0 ArcanistWorkflow::loadBundleFromConduit(ConduitClient, array) called at [<arcanist>/src/workflow/ArcanistWorkflow.php:1156] #1 ArcanistWorkflow::loadRevisionBundleFromConduit(ConduitClient, string) called at [<arcanist>/src/workflow/ArcanistPatchWorkflow.php:384] #2 ArcanistPatchWorkflow::run() called at [<arcanist>/src/workflow/ArcanistPatchWorkflow.php:397] #3 ArcanistPatchWorkflow::run() called at [<arcanist>/scripts/arcanist.php:382] Exception Argument 1 passed to idx() must be of the type array, boolean given, called in /Users/abacker/src/phacility/arcanist/src/workflow/ArcanistWorkflow.php on line 1174 and defined (Run with `--trace` for a full exception trace.) 49