refactor #rename_project to handle improper input