Only add root configurable if extends is empty.
Since extends must be empty remove now superfluous condition.