[Bug 1227878] econf_readDirs crashes if one of the paths is NULL