Null check at the head of the constructor of IntentOperation

Change-Id: Iaa25c6c7e49cf1c629687b0ba95b548fad4f7d71