Fix directory path was added twice.