fix unresolvable state after failed DROP TABLE on partitioned table

add logger.isDebugEnabled() in order to avoid the Joiner.on(", ").join(orphans) call if the logger isn't enabled