ci: pep8 fix, add --retain-vm, and bug fix

Signed-off-by: Hao Liu <hliu@redhat.com>