Fixed wrong handling of xpath in last commit. Cleaner log messages