Fixes shell detection for rbenv