Fixed bug not allowing undefined packages.
Merge branch 'test' into dev