Fix DeployAppCommand to work right with source-directory parameter

The Tar library use Environment.CurrentDirectory as reference path so it is needed to change it when using specified source-directory.
When specifying source-directory parameter validate the directory really exists.