Added simple directory check in order to be able to recomplie in chef 11