Fix SFileHasFile with more than one patch applied

Previously, SFileHasFile would apply the prefix for every patch file. This resulted in checking for, eg. "Base\Base" and since now prefixes are gone it would result in an empty string being checked.