[backend] strip build number also when setrelease is an empty string