Use realpath to detect symlinked instances.