Check if the extension variable is empty and if so, return from the
function. Related to gridsite GGUS ticket #106426