Fixes for new pylint version: getPlatform et al. See merge request !2254
mentioned in commit a1a5c5fb
mentioned in commit 037c9b05
mentioned in commit e6f4654e
mentioned in commit f51dd314