Do not store nil in templates on parse error
Do not store nil in templates on parse error

When ParseGlob returns (nil, err) do not store nil as a valid
template but allocate an empty template instead.

Davmuz/gqt