Failing to import Py scripts

Fresh GUI session > Sample > Import > get_sample > "Won't import bornagain because Py is initialized"

Error message has been introduced in bebe89 [i251] of 12apr22. Why is it triggered?