fixed broken version compare of dpkg also for non python packages