fix mailman patch detection