Fixed for EdgeOS

Fixes for vyatta-config-sync to run on EdgeOS (tested on 1.4.1)