Fix invalid directory reference.