added error handling to gitBomInfo