-P option is added to the avrdude command only if it is specified after ...

I am using a programmer for which I do not want to specify the -P option. I have added a check to detect if the -P given to avrdude-scp contains an actual programmer port or not.