Rsync command line was bogus. Changing methods using rsync filter rules.
Added --delete-excluded to rsync command line.

Also exclude /sys by default.
Merge branch 'dev' | Fix rsync command line and excludes.