Avoid usage of mutables as default args

Passing mutable objects as default args is a known Python pitfall.
We'd better avoid this. This commit changes mutable default args with
None, then use 'arg = arg or []'.

Change-Id: I1f1989d5da934d959aeafecf7165e71dfaa500e6
Merge "Avoid usage of mutables as default args"