Check that app.name is defined, because in After Effects it is not.