block: simplify code picking mount target directory