Influence of the ion-pseudopotential on the electronic shell structure and the dipole strength distribution in metal clusters