Merge branch 'jx/do-not-crash-receive-pack-wo-head' into maint