Scan: When setting the source, make sure the value is valid first.
Some scanners, like the Brother DCP-8025D, don't like it when we set a non-valid value (for instance 'Auto' ...)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>