Fixed bug not allowing undefined packages.