Fix log symlink creation when log directory is a relative path