Description: Removes unwanted characters from a line containing package names and makes sure that there is only one line without line breaks.
Parameter:
packageLine: Space seperated line containing the package names. The changed line will be written to the parameter too.