CB-2108: fix repo count, better error handling

Fixed the number of repo's it is looking for (16, not 15), and put
a little bit of error handling in the shjs.exec() callbacks.