Fix serious problem using rsync

If env.remote_output not set, use rsync --delete option will
empty the whole remote system, this is a very serious problem!