improve package status and take in account new init dir architecture