Fixes #587, reset _buildPathToModuleIndex between runs
snapshot