Fixed an issue with LUA_DEV including files instead of directories.