Check if previous_build is nil or not