base_utils: use platform.machine() instead of uname -m

Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
base_utils: Use os.uname()[2] to return the release name, instead of calling uname -r

Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>