Only spawn removed command for paths that exist

Prevents errors being logged when trying to remove folders that
don't exist on Windows.