change package installation status check return value