dpkg: Handle multiarch setups correctly