Amend method getSpn in class SpnOverride

Change-Id: I9cc5343eced155deb6adf1a765e18b339c676b8a