Fixes the profiles-plugin

An error was introduced with 7f75bb9, which uses special vars. This is the
fix.
Merge pull request #3299 from apoxa/fix-profiles

Fix for the profile plugin.
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh