[FIX] missing package_dir variable.
[UPDATE] Error Handling / Messages.