The solution is to put parse_args() in common.DHEntryPoint before the compat check.
parse_args()
common.DHEntryPoint