MT#10587 Parse autoprov bootstrap id and mark conf

We search for a valid id (mac) in the various path parts, and also
set a bootstrap flag for the configs to handle it separately.