Amend method getSpn in class SpnOverride

Change-Id: I6d0539c3fbc3dcf2913a0924ccb22273edc42bb7