Check for null while retreiving campaign

Change-Id: Ib0475d5828210953c867a7471b8d42728e10c9f1