Ensure that appname hasn't been used