[Concept] [PATCH 07/16] pickman: Refactor the initial part of prepare_apply()