Circular symlink reference fix

Resolves https://github.com/codio/client/issues/3461