Update bash_profile.sh

Use a better method for finding out if we have pyenv in our path or not.