Use failed to determine red/green hook.

files_to_test can be empty if class mapping is off, so green hook was firing even though tests didn't pass. There might be a better way to do this.