Refaftor get_nailgun_node_by_devops_node method

It should use mac address of a physical interface for matching
devops node to nailgun node.

Change-Id: Ia16bd449a030ca9901ef4b45ad9519305ba2ac5e
Merge "Refaftor get_nailgun_node_by_devops_node method"