Errors when saving new package (Issue #135)

replaces PR https://github.com/joomla-projects/com_localise/pull/157