Bug fix for imageinclude

- fix repository image inclusion behavior
  + adding imageinclude=true did not have the desirec effect of adding the
    specified repo to the image permanently. This changes fixes this
    problem

The additional test in the if condition checked whether or not the file existed in the cache, which will always be true. Thus the repo was never added to the image proper