Fix issue in status check after pylama fixxes addition