Added a code to prevent a MissingPropertyException if the package is incorrectly written