Fix return of prepend_nops

prepend_nops in the payload generator
could potentially return nil due
to bad conditional logic