Amend method getSpn in class SpnOverride

Change-Id: I4219b7f287ecc25c435087f97a44e3e012ecf70d