[Runtime setup script] Trim input paths