Ensure not to form a cycle with symbolic links