RTD: Try except for mock import.