am: handle --no-patch-format option