compare realpath in init_virtualenv

should help with symlinked envs

closes #4486