Add initalization of local bare repository

Rename update_masterfiles_internal.cf to match internal bundle
Clean up bundle sequence

see https://cfengine.com/dev/issues/4390