Fixed mismatched parentheses in dpkg_check() function