Fix error handling
Get correct release info from task