Fixed bug that allowed a build to pass if invalid scan path was specified