added throwing of exeption when package not found