IsKspDir should not log a error in the false case.

This avoids it by adding a precondition to the call to DetectVersion which logs the error.
Closes #373.