Fix bug where bootstrap would get overwritten if no changes were made