throw error if app with the current name exists