Promisify setupRoot
Clean up promises a bit.