Use the `docutils` variable to check if docutils is installed, not `core`.

+ remove duplicate import
Merge pull request #1006 from saimn/fix_docutils

Use the `docutils` variable to check if docutils is installed, not `core`