ISPN-2688 BaseDistributionInterceptor and TxDistributionInterceptor do not detect properly if the key needs to be fetched remotely

Does not fix the non-tx case.

Fixes https://issues.jboss.org/browse/ISPN-2688 and https://issues.jboss.org/browse/ISPN-2839

Please integrate in master and 5.2.x.