Make sure different git references get different folders