[BUGFIX] Resolves path variables for internal states

Previously we kept path variables in our status variables
(like in webroot or current working directory). This lead
to unexpected behavior when changing the referenced path.