when computing NBCONVERT_DIR, follow symlink before any other path manipulation

Without this modification, symlinking nbconvert as per the installation instructions in README.rst does not work.