Fix code review comment

- Make sure to update the status even when `NodeExistsException`
is thrown while writing module metadata path.