checkout before check-dependencies, noticed by @rodjek