Little cleanup in take_snapshot.py script

Removing some duplicate lines

Change-Id: I92059eb42cedf5f912a595bbab4a73a1011d6dae
Reviewed-by: Andras Becsi <andras.becsi@digia.com>