Alternatively try to fetch extension name.

Signed-off-by: crynobone <crynobone@gmail.com>