rearrange logic to get the readme and config links back in the extend page

fixes https://github.com/bolt/bolt/issues/1867

Readme and Config buttons are back on extend page

this was caused by regression from https://github.com/bolt/bolt/pull/1788