Cleanup check-raid.py and PEP8 compliance

Mostly fix up minor inconsistencies and make sure it is pep8 compliant

Change-Id: Idbce34f4185ab89da2f82f954aca03af9f41dcf6