MT#10587 Always strip .cfg in device provisioning