FIX: Fixed infinite loop on remote command execution.
FIX: Remove duplicate pakParts code.
FIX: Fixed bugs that appeared only with remote webroots.