[fix_deploy] Added conditional path search in /forall.py