add null checks so not to crash when there is no selected android variant, #27