assign excluded_extensions to local variable before checking of empty
and update the read me file badges