
This also needs to handle mirror lists with 1 element, since mirrors can now be disabled. If the user disables all mirrors, then there will be only one URL in the list of mirrors. Asking for a random mirror in that case should not return null, but the one enabled mirror. closes #1696