This will cover exception case when input is None. Change-Id: I0116f45f784305e3436de2ff673a22e15e69cf42