Bug 1022982

Only rsync from repo to JBoss cartridge webapps/deployments directory
if the repo directory has files in it.

Don't delete content from the cartridge dir unnecessarily.