path.c: mark 'logs/HEAD' in 'common_list' as file