Issue 92 - Fix incremental builds when using image internal scripts

This resolves problem described in #92.
yeah sorry was thinking this was returning bool, not throwing an error, so I guess you need it, though i hate the duplication.  I'm almost inclined to recommend it take a bool "invert" type argument, but that's ugly too.
  
/me misses "return x" and "throw e"