ensure cowboy is using local dir always