check directory not file for dev install