Fix whereami not recognising the active interface

Resolve #2 whereami fails to recognise active interface