Make sure we resolve relative dependencies properly.