search: use Sscanf in parseConfigFingerprint
Created by: keegancsmith
This simplifies the logic of parseConfigFingerprint quite drastically. Additionally we added a test to ensure we didn't regress on the previous behaviour when detecting malformed strings.