fixed hilarous error handling in buildlocal packaging scripts :-)