check correct extensions file in profile
even more debugging output for AddonMetadata
remove unused function from previous attempts
add observer to notify once the callback after buildDatasource is reached