Define emi_release_package properly
More fixes.