build: remove pointless condition