docs: Fix building the docs without RTD theme.

Fix building the docs without RTD theme. Take a look at the file, there is a if clause which sets the theme to rtd if found ...