corrected some PEP8 warnings, Added some more invalid values handling
WIP git integration nearly done. TODO: fix versionning parsing bug