scan.py: Minor fix to default access.

Signed-off-by: Martin Stone <martin@d7415.co.uk>
(cherry picked from commit dd91df7907e58c3fef0dedd736af89bdd6139920)