Use realpath() for #import too.