Fix sagemath backend when there is no sage-env

Authored by arojas on Oct 26 2019, 4:40 PM.

Description

Fix sagemath backend when there is no sage-env

Since sagemath 8.9 it is possible to run sage without sourcing sage-env (https://trac.sagemath.org/ticket/28225) so don't abort if it is not present.

Differential Revision: https://phabricator.kde.org/D24955

Details