fixes invalid code style of pep8

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
fixes sorted logic of remove from archive

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>