getpath() for sage.apps