bug fix - bundle exec worked only for the first element in files

Before this fix, bundleExec was read and removed from the options object in every loop cycle, which caused it to work only in the first cycle (in the second cycle it was already removed from the object). This simple fix reads and removes bundleExec right before the loop starts instead.