Raise a nice error message if a depenency does not exist.