Errors when saving new package (Issue #135)

Errors when saving new package 
https://github.com/joomla-projects/com_localise/issues/135

This should take care of the errors, except for the Notice