Refactor source installation

Rearrange the download and configuration (setup_develop()) of the source
repositories.

Change-Id: Iaf38c0aed0a83ebf9a5da3505fe92c9fa200ac1e