Check that directories exist before trying to "normalize" them