Prepare for --bare generation