Handle null "base_ref" in payload

Signed-off-by: David Greaves <david.greaves@jolla.com>