Give modules directory a shot before failing

Please merge.