Replace else condition with default assignment
Rearrange guard clause for current build number not changed to be checked as early as possible