xbps-dgraph: only set rootdir it was set (fix #33).