python: Update Database.get_directory documentation