Fixed the issue with architecture being a part of dpkg -l package name.