Fixed a possible crash if no versions exist for a module
Set up winston as logger