python2 packages are being removed in Fedora, start consuming python3 packages. Also use commands wherever possible as that would be same for both CentOS 7 and Fedora. Change-Id: Ibbd433690447476e6d10c21bd5bccada887016bd