Fix incorrect check against FD >= 0

Fixes #105
9 jobs for fix_sd_check in 2 minutes and 55 seconds (queued for 2 seconds)