Fixed input validation for the rename germplasm folder operation

GCP-8901

Post commit code review : Dan Jao