only pass context for logo uploader if there is an application

fixes error when ```app is None```