Replace warning about unknow package by a hard error.