How to change the path of application in OSX
I can't speak to the odd path you've installed this software into, but the reason the shell says it can't find it is that bash (and other shells) maintain a hash table with the locations of executable binaries that have been run before.  The reason behind this is so that the shell doesn't have to actually search for it each time it needs to execute it.

See: http://www.gnu.org/software/bash/manual/bash.html#Command-Search-and-Execution

To force bash to re-hash the table, use 'hash -r' .