Check if cgi-bin directory exists before deleting cgiscripts