fixed arista install
avoid error msg when checking file in add_line function