catch error when requiring visionmedia yaml module