Fixed context path loading when parsing component specs