fix indentation & trailing whitespace in pkg state