Raise an exception if dependency products aren't specified as a list