Motivation
Currently, we use the package types, such as function, sink, source to check if a download file is saved in the package management or not. We need to enhance the check to check the file has a package name format such as "type://tenant/namespace/package-name@version".