realpath removes trailing slash