Fix before_prepare hook to work with Enyo's new directory structure