Fix traceback when creating ssh rsync task + user without SSH key

Ticket:	#7134
(cherry picked from commit aca5e87d0a5fc9ba3169a295962cac298dd8f776)