Fixed setting repo from panel settings.

BASE_URL was not being updated after panel settings changed.