Restored ipython profile locate dir and fixed typo. (Fixes #3708).