Updated component accessor in directory plug

Signed-off-by: Tom Wright <tom@inflatablecookie.com>