Use known versions or git commits when possible.