Remove null check for Optional

According to Sonar: ""null" should not be used with "Optional". In this
specific case, protocolStack cannot be null as the getProtocolStack
method returns an empty optional worst case.

Change-Id: Ic231ebff7a78933230fadeb04993845c8f13a296
1 file changed