Removes trailing comma in composer requirements