Clear projectile--project-root cache properly

projectile--project-root needs to be cleared when invoking
projectile-switch-project-by-name, otherwise
projectile-switch-project would wronly switch to the current
project i.e. not switch at all.