corrected the check for empty string

checking for an empty string , in case when vdc with zero resource entities are
returned