[lib] deployment: pep8 + print_state_compact improements
[lib] utils: fix get_max_vms + pep8