strip whitespaces from dependency names