Only setup path if dir exists