Fix the no return bug of get gateway mac address from autonet device