Add machine-id to the grains
pep8 fixes for grains/core.py
Use cmd.retcode with _linux_bin_exists

instead of cmd.run and echo $?
dash is not allowed in function naems