Only cd into current_path if pid file exists.
Merge pull request #1296 from juanibiapina/cap3quiet

Only cd into current_path if pid file exists.