Remove entries that are only whitespace in 'external.packages'