fixing rbenv crashing when map_bins is nil by testing for its presence