Removed root check (handled by path) and tweaked logging.