Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52640 Correct endorsed dir location when using installer