Added a check for extension functions that are sourced 

With this change you can use sourced extension files so it will use the gvm internal functions.