Handle relative dependencies