Getting the correct path of an alias