Bug 893026 - Python framework wrongly assumes to restart the application while it has already been done by the extension. r=ctalbert