Do not crash when querying provides that do not exist

hy_reldep_create() returns NULL if nothing provides the name, so only add it to
the reldeplist if it's going to exist.