fixed a bug in get_dir_rrd_contents_into_resultobject