Fix order of sed commands in the pipeline when we return list of releases