Patch to fix https://fedorahosted.org/freeotp/ticket/51