Trim build properties before setting them in build details