build: apply_profile: uhttpd: https-check had a logic error