The Question began with the word "IF". IF such-&-such is so, then does this-&-that, as expressed, logically follow? Can these conclusions legitimately be drawn from the premise IF "the Creator was not perfect"?
Obviously YES.
An imperfect Creator may well labor under the delusion that he *is* perfect -- so Gluon's agnostic logic is illogical. He didn't *intentionally* create imperfection -- but from his own (unperceived -- in all his arrogance & vainglory) imperfection, imperfection came forth.
"Excluded texts" include the Apocrypha (in many cases -- those books are included in *some* Bibles), the Pseudepigraphica and the ancient Gnostic scriptures (which are *not* the Dead Sea Scrolls; there are an appalling number of people who think they're the same).
Many of the excluded books (like the Epistle of Barnabas & The Gospel According To Thomas) would "fit right in" to the canonized Christian scriptures with no real problems (beyond believers' indoctrinated prejudices & false judgment of these books). The minor inconsistencies these books have with canonized scriptures, those canonized scriptures already have with each other!
IF there are "flaws in creation" -- they would certainly make more sense IF the Creator was flawed.
However, if there are flaws in creation -- & we are of that creation -- then there are flaws in *us* & our perspective of the creation & the Creator would thereby be flawed. <smile>
If each of us is flawed, then your Question might be flawed -- as may-well be all answers to it!
Personally i believe that the words/ concepts "Creator" & "creation" are very flawed descriptions of the Cosmological Process & the Divine Mystery that actually happened & continues to happen. The words Creator & creation, themselves, trap one into a fallacious viewpoint that reveals no more about the Divine Reality than does a person's shadow about the individual casting it.
Now how much does a human's shadow reveal about all the thoughts s/he has thought across the entirety of he/r life? How much does a shadow reveal about how many people this person has loved, what religion they believed in, what songs they sang, what books they read (or wrote), what paintings they may have painted?
The amount that a human shadow reveals about the human casting it is about the same amount as the Bible reveals about the actual mysterious Reality of the Divine.
i can't honestly say that the Gnostic scriptures (tho i find them fascinating) reveal any more about the Divine Reality than do the scriptures of any of the religions... (i'd say that the Tao Te Ching comes closest.) What every one of the scriptures *really* reveals is the ideas & claims of the human who *wrote* them.