Add guards against empty payloads

Fix's msfvenom issue