FIX: Use realpath