Use the correct type for None value

Change-Id: I21d1a4e73df7690019f66b569749105ff4714361
Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>