Suport filtering registries by type in listing registry API Signed-off-by: Wenkai Yin <yinw@vmware.com>