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

Backport #18771 to 2014.1