Cleanup PATHs before changing them

Trying to clean the PATH and MANPATH before change them.
Oh, yes you are right.