fix extension manager unit test regressions

@dangoor 
Regression due to https://github.com/adobe/brackets/pull/8166/files#diff-8eb39e43ad34feb398c7ce682a109b8bL389