* PEP8 fix * Rectified string check in package install command stdout * Add abadger's code review changes Fixes #22245 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>