[node-webkit] Added check for node-webkit directory.