Don't call py2rpm for no keys

Change-Id: I38158fc8c0813d17df1985eac10a5fcf85a6eb4b