cleanup path before readlink, add devel case for pixmaps path detection