Actually fail if dependencies are not found

I tested dependency detection quite extensively, but forgot to actually error out when one isn't found…