BZ-1022982: Only rsync from the git repo to the WILDFLY_DEPLOYMENTS_DIR if the git repo's deployments directory has files in it. Don't delete content from WILDFLY_DEPLOYMENTS_DIR if it's not necessary.