Fix repository location for target platform