Fix unbundle digest arg handling
PEP-8 fixes