Properly compare symlinked directories

Profile .rvmrc files should not be asked to be trusted when cd-ing into a symlink directory pointing to their parent dir.