Remove unused variable `projectname`