Make sure to release the package we grabbed on the error path.