Fix dependencies checkout