fixes #3874 - extend paths for FreeBSD support
fixes #3941 - Support for Junos ZTP