autodetect dotpath, skip deployed, fix mindepth