MDL-26244 mod_date:added some logic show or hide the file picker button based on repository availability