Use a list instead of a tuple when running dpkg-query command
Merge pull request #18771 from rallytime/list_not_tuple

Use a list instead of a tuple when running dpkg-query command